package com.vcit.system.domain.grade;

public class CourseGrade {
    private String courseName;  // 课程名称
    private String score;       // 成绩
    private String type;        // 类别（必修/选修）

    public CourseGrade() {}

    @Override
    public String toString() {
        return "CourseGrade{" +
                "courseName='" + courseName + '\'' +
                ", score='" + score + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public CourseGrade(String courseName, String score, String type) {
        this.courseName = courseName;
        this.score = score;
        this.type = type;
    }

    // getter和setter
    public String getCourseName() { return courseName; }
    public void setCourseName(String courseName) { this.courseName = courseName; }
    public String getScore() { return score; }
    public void setScore(String score) { this.score = score; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
}
